<%-- 
    Document   : read
    Created on : 24/03/2011, 10:34:20 PM
    Author     : Jhon
--%>

<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="HTML.*"%>
<%@page import="Servicios.*"%>
<%@page import="Entidades.*"%>
<%
HtmlForm f = new HtmlForm();
ServicioDAO s = new ServicioDAO();
f.HtmlFormulario("usuario", "", "LISTADO TRANSACCIONES", "1200");
List<Banktx> archivos = s.read();
f.addBankTxInit();
for(Banktx b : archivos){
    f.addBankTx(String.valueOf(b.getBanktxPK().getIdBankTx()),b.getTimestamp().toString(),String.valueOf( b.getValue()),b.getAccount().getUser().getLogin(),b.getTxtype().getName() ,b.getAccount().getType());
}
f.addLabelFieldURL("Atras", "./inicio.jsp");


%>

<%=f.getFormSinBoton()%>